package cn.com.sinosoft.ares.insurance.service.impl;

import cn.com.sinosoft.ares.insurance.service.AbstractRoomInsureService;
import cn.com.sinosoft.ares.insurance.struct.Request;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * Description: 房惠险 0102 险种实现
 * Author: lishangmin
 * Created: 2018-09-05 10:40
 */
@Service("roomInsureService_0102")
@Slf4j
public class RoomInsureServiceImpl_0102 extends AbstractRoomInsureService{

    @Override
    public String insure(Request request) {
        String userName = request.getUserName();
        String productCode = request.getInsurePlan().getProductCode();
        this.checkRisk(userName,productCode);

        String clientCode = request.getClientCode();
        String riskCode = request.getRiskCode();
        //校验险种对应产品是否存在

        return "";
    }

}
